package com.example.materialviewpagerdemo.Presenter;

import com.example.materialviewpagerdemo.bean.Dezhou;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface CurrentDataController {

    @GET("GetDataServlet")
    Call<List<Dezhou>> query(@Query("num") Integer number, @Query("dtu") String dtu);

    @GET("OneDataServlet")
    Call<Dezhou> queryOne(@Query("dtu") String dtu);

//    @GET("getDataByTime")

}  //  Call<List<DataModel>> queryable(@Query("start") String start, @Query("end") String end, @Query("dtu") Integer dtu);

